#include <iostream>
using std::cout;
using std::endl;

int num = 1;

namespace wd
{
int num = 10;

void print(){
    cout << "wd::print()" << endl;
}
}//end of namespace wd

void test0(){
    /* using namespace wd; */
    //全局变量num与wd中的num发生冲突
    /* cout << num << endl; */

    cout << wd::num << endl;
}

int main(void){
    test0();
    return 0;
}
